package com.design.pattern.creational.simplefactory;

/**
 * description
 *
 * @author RenQiQiang 2019/02/15 9:48
 */
public class Test {

    public static void main(String[] args) {
        ProductFactory factory = new ProductFactory();
        Product product = factory.getProduct(JavaProduct.class);
        product.produce();
    }
}
